package ch1;

import java.util.Scanner;

public class Zuoye03088 {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        System.out.println("请输入十个数");
        double a;
        int i = 0;
        double max = 0;
        while (i < 10) {
            a = scan.nextDouble();
            if (a >= max) {
                max = a;
            }
            i++;
        }
        System.out.println(max);
    }
}
